package com.li.shop.service;

import com.li.shop.domain.Admin;

import java.util.List;

public interface AdminService {
    void add(Admin admin);
    void delete(String email);
    void update(Admin admin);
    Admin login(String email, String password);
    Admin get(String email);
    List<Admin>list();
    Admin get(String email, String password);
    boolean exist(String email);
    void register(Admin admin);
    Admin checkCode(String code);
    void updateAdminStatus(Admin admin);
    Admin loginAdmin(Admin admin);
}
